API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Operators > [] Operator > OdGeScale3d::[] Operator (unsigned int)
OdGeScale3d::[] Operator (unsigned int)
Syntax
C++
double operator [](unsigned int i) const;
Parameters 
Description 
unsigned int i 
[in] Index of component. 

Returns or references the ith component of the scale vector. 

  • 0 returns or references the X scale factor.
  • 1 returns or references the Y scale factor.
  • 2 returns or references the Z scale factor.
 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.